<!DOCTYPE html>
<head xmlns:v-bind="http://www.w3.org/1999/xhtml" >
    <meta charset="UTF-8">
    <title>demo7循环语句</title>
  <script src="./js/vue.min.js"></script>

</head>

<body>
   <div id="app">
     <ol>
       <li v-for=" site in sites">
         {{ site.name}}
       </li>
     </ol>
   </div>
   <script type="application/javascript">
     var vm = new Vue({
       el: "#app",
       data: {
         sites:[
           { name: '小明'},
           { name: '小李'},
           { name: '小红'}
         ]
       }
     });


   </script>
</body>

</html>
